package com.mayikt.entity;

import java.util.Date;

import lombok.Data;


/**
 * 秒杀订单
 */
@Data
public class OrderEntity {
	public OrderEntity(Long seckillId, String userPhone) {
		this.seckillId = seckillId;
		this.userPhone=userPhone;
	}

	/**
	 * 库存id
	 * 
	 */
	private Long seckillId;
	/**
	 * 用户userId
	 */
	private String userPhone ;
	/**
	 * 订单状态
	 */
	private Long state;
	/**
	 * 创建时间
	 */
	private Date createTime;
}
